import Request from '@/api/request/request';
import urls from '@/api/request/urls';
import type { User } from '@/types/interface/auth_interface';

export async function updateSession(formObject: User) {
  return new Request(urls.API_URL_BACKSTAGE_LOGINUSER, JSON.stringify(formObject)).put();
}
